From 3a4906e82d3eadf4a3ac53cfdf57643f6d17e09b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 28 Feb 2002 18:47:38 +0000 Subject: [PATCH] Move the call to correct_total() to the right spot. (#72732) * pixops/pixops.c (tile_make_weights): Move the call to correct_total() to the right spot. (#72732) --- gdk-pixbuf/ChangeLog | 5 +++++ gdk-pixbuf/pixops/pixops.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index c4783fdd87..cd5f8821b5 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +2002-02-28 Matthias Clasen + + * pixops/pixops.c (tile_make_weights): Move the call to + correct_total() to the right spot. (#72732) + Wed Feb 27 18:33:04 2002 Owen Taylor * gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not diff --git a/gdk-pixbuf/pixops/pixops.c b/gdk-pixbuf/pixops/pixops.c index a84de85257..593895edd3 100644 --- a/gdk-pixbuf/pixops/pixops.c +++ b/gdk-pixbuf/pixops/pixops.c @@ -1162,9 +1162,9 @@ tile_make_weights (PixopsFilter *filter, double x_scale, double y_scale, double total += weight; *(pixel_weights + n_x * i + j) = weight; } - - correct_total (pixel_weights, n_x, n_y, total, overall_alpha); } + + correct_total (pixel_weights, n_x, n_y, total, overall_alpha); } } -- 2.30.2